
package com.chongchong.flow.offline.wrapper;

import com.chongchong.core.mp.support.BaseEntityWrapper;
import com.chongchong.core.tool.utils.BeanUtil;
import com.chongchong.flow.entity.FlowWorkOrder;
import com.chongchong.flow.vo.FlowWorkOrderVo;

/**
 * 附件表包装类,返回视图层所需的字段
 *
 * @author
 * @since 2021-12-16
 */
public class FlowWorkOrderWrapper extends BaseEntityWrapper<FlowWorkOrder, FlowWorkOrderVo>  {

    public static FlowWorkOrderWrapper build() {
        return new FlowWorkOrderWrapper();
    }

	@Override
	public FlowWorkOrderVo entityVO(FlowWorkOrder flowWorkOrder) {
		FlowWorkOrderVo flowWorkOrderVo = BeanUtil.copy(flowWorkOrder, FlowWorkOrderVo.class);

		return flowWorkOrderVo;
	}

}
